package com.xoa.service.workflow.flowDestroy;

import com.xoa.model.workflow.FlowRun;

import java.util.List;
import java.util.Map;

public interface FlowDestroy {


    public List<Integer> getFlowIdByrunIdArryInt(String[] runIdArrayInt);

    public int destroyFlowRunByRunIdArray(String[] runIdArray);

    public int destroyFlowRunPrcsByRunIdArray(String[] runIdArray);

    public int destroyFlowDataNum(String runId, String flowId);

    public int restoreFlowRunByRunIdArray(String[] runIdArray);
//全部销毁
    public int allDestroy();
//全部还原
    public int allRestore();


    //模糊查询
    public List<FlowRun> query(Map maps);
}